Skip to content

fix: expand claude selectors for issue #57#61

Open
NogaUwU wants to merge 1 commit into
masterfrom
fix/issue-57-claude-selectors
Open

fix: expand claude selectors for issue #57#61
NogaUwU wants to merge 1 commit into
masterfrom
fix/issue-57-claude-selectors

Conversation

@NogaUwU

@NogaUwU NogaUwU commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Closes #57. Expand generic selectors for Claude UI update.

@FuugaMo

FuugaMo commented Jun 26, 2026

Copy link
Copy Markdown
Owner

@codex Please review this PR. If you find no critical issues, reply with "LGTM". If you find critical issues, describe them clearly.

@github-actions

Copy link
Copy Markdown

review
node scripts/review-pr.js

Automated Review

Automated reviewer found issues that need human attention before merge.

Checklist

  • selectors.json touched: yes
  • content.js touched: no
  • sidepanel/viewer touched: no

Findings

  • selectors.json changed without parser changes; confirm runtime already consumes the new entries.

Verdict: needs-human-attention

1 similar comment
@github-actions

Copy link
Copy Markdown

review
node scripts/review-pr.js

Automated Review

Automated reviewer found issues that need human attention before merge.

Checklist

  • selectors.json touched: yes
  • content.js touched: no
  • sidepanel/viewer touched: no

Findings

  • selectors.json changed without parser changes; confirm runtime already consumes the new entries.

Verdict: needs-human-attention

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 14c5ac1583

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread selectors.json
Comment on lines +53 to +55
"div[data-is-user='true']",
".user-message",
"[class*='user-message']"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update the Claude parser to consume these selectors

In the Claude DOM case this PR is targeting, where messages are only identifiable via data-is-user or the new message classes, adding entries here does not change runtime turn parsing: selectors.json is loaded for selector probes, but readClaudeTurns() still uses the hard-coded selector lists in getClaudeUserTurns() / getClaudeAssistantCandidates() in content.js, which omit these new selectors. This can make diagnostics show healthy selector hits while the extension still fails to build the Claude turn tree, so the reported issue remains unfixed unless the parser lists are updated as well.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AUTO] · claude · no_turns_detected · humanTurn, assistantTurn

2 participants